📁 last Posts

Protein Recipes

Healthy Desserts Best Protein-packed donuts for Fitness Dessert Lovers
Donuts sit near the top of the "off-limits" list for anyone tracking macros — deep-fried dough coated in glaze routinely runs 300-...
Healthy Desserts Whey Protein Chocolate Mousse for Guilt-Free Dessert
Chocolate mousse belongs on the list of desserts people assume they have to give up entirely once tracking macros gets serious — heavy cream...
// Blog CTA Close Functionality document.addEventListener('DOMContentLoaded', function() { // Check if CTA box exists on the page const ctaBox = document.querySelector('.blog-cta-box'); const ctaCloseBtn = document.querySelector('.cta-close'); if (ctaCloseBtn && ctaBox) { ctaCloseBtn.addEventListener('click', function() { ctaBox.style.opacity = '0'; ctaBox.style.transform = 'translateY(-20px)'; setTimeout(function() { ctaBox.style.display = 'none'; }, 300); }); } // Optional: Local storage to show CTA less frequently const ctaDismissed = localStorage.getItem('blogCtaDismissed'); if (ctaDismissed && ctaBox) { // If dismissed in last 7 days, don't show const dismissTime = parseInt(ctaDismissed); const oneWeek = 7 * 24 * 60 * 60 * 1000; if (Date.now() - dismissTime < oneWeek) { ctaBox.style.display = 'none'; } } // Update local storage when closed if (ctaCloseBtn) { ctaCloseBtn.addEventListener('click', function() { localStorage.setItem('blogCtaDismissed', Date.now().toString()); }); } });